package com.colin.datamove.mapper.db2;

import com.colin.datamove.entity.OutAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("db2OutAccountDao")
public interface OutAccountDao {
    /**
     * 获取未迁移数据
     * @param limits 每次读取数量
     */
    List<OutAccount> getUnMoveData(@Param("limits") Integer limits);
    /**
     * 更新数据为已迁移
     */
    int updateMoved(List<OutAccount> list);
}
